﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<MvcCreditoHipotecario.Models.Aprobar_Solicitud>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Editar aprobaciones</h2>

<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script>

<% using (Html.BeginForm()) { %>
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <legend>Editar Aprobacón crédito hopotecario</legend>

        <%: Html.HiddenFor(model => model.IDAprobacion) %>


        <table style="width: 90%;">   
            <tr>
                <td style="width:30%">
                    <label><%: Html.LabelFor(model => model.IDSolicitud, "Solicitud :") %></label>
                </td>
                <td>
                    <label><%: Html.DropDownList("IDSolicitud", String.Empty) %>
                    <%: Html.ValidationMessageFor(model => model.IDSolicitud) %></label>
                </td>
            </tr>
            <tr>
                <td style="width:30%">
                    <label> <%: Html.LabelFor(model => model.IDResponsable, "Responsable :") %></label>
                </td>
                <td>
                    <label><%: Html.DropDownList("IDResponsable", String.Empty) %>
                    <%: Html.ValidationMessageFor(model => model.IDResponsable) %></label>
                </td>
            </tr>
             <tr>
                 <td>
                    <label><%: Html.LabelFor(model => model.Observaciones) %></label>
                </td>
                <td>
                    <label><%: Html.EditorFor(model => model.Observaciones) %></label>
                </td>
            </tr>
             <tr>
                 <td>
                    <label><input type="submit" value="Guardar" /></label>
                </td>
                <td>
                    <label><img style="width:20px" src="<%= Url.Content("~/Content/assembled/images/regresar.jpg")  %>" />
                     <%: Html.ActionLink("REGRESAR", "Index") %></label>
                </td>
            </tr>
        </table>     
    </fieldset>
<% } %>

</asp:Content>
